/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.buzz.registwork.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.modules.adjunctFile.entity.AdjunctFile;
import com.jeeplus.modules.basedata.banji.entity.Banji;
import com.jeeplus.modules.basedata.grade.entity.Grade;
import com.jeeplus.modules.basedata.jiaoshiguanli.entity.Jiaoshiguanli;
import com.jeeplus.modules.basedata.school.entity.School;
import com.jeeplus.modules.basedata.studyofficer.entity.Studyofficer;
import com.jeeplus.modules.buzz.student.entity.Student;
import com.jeeplus.modules.sys.entity.Office;
import com.jeeplus.modules.sys.entity.User;

/**
 * 作业登记Entity
 * @author 陈
 * @version 2025-07-14
 */
public class Registwork extends DataEntity<Registwork> {

	private static final long serialVersionUID = 1L;
	private Date 			regisdate;			// 登记日期
	private User 			regisuser;			// 登记人
	private Jiaoshiguanli 	roor;				// 教室名称
	private Student 		student;			// 学生姓名
	private School 			schoo;				// 就读学校
	private Grade			grade;				// 就读年级
	private String			nianji;				// 就读年级
	private Banji 			banji;				// 就读班级
	private Studyofficer 	bangan;				// 班干
	private String 			classid;			// classid
	private Office			company;			// company
	private String 			IsOwn;				// IsOwn
	private User			dl;					// 登记人
	private List<Registworkentry> registworkentryList = Lists.newArrayList();		// 子表列表
	private List<Registstudyentry> registstudyentryList = Lists.newArrayList();		// 子表列表
	private List<AdjunctFile> adjunctFileList = Lists.newArrayList();		// 附件列表


	public Registwork() {
		super();
	}

	public Registwork(String id){
		super(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="登记日期", align=2, sort=7)
	public Date getRegisdate() {
		return regisdate;
	}

	public void setRegisdate(Date regisdate) {
		this.regisdate = regisdate;
	}

	@ExcelField(title="登记人", align=2, sort=8)
	public User getRegisuser() {
		return regisuser;
	}

	public void setRegisuser(User regisuser) {
		this.regisuser = regisuser;
	}

	@ExcelField(title="教室名称", align=2, sort=9)
	public Jiaoshiguanli getRoor() {
		return roor;
	}

	public void setRoor(Jiaoshiguanli roor) {
		this.roor = roor;
	}

	@ExcelField(title="学生姓名", align=2, sort=10)
	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public List<Registworkentry> getRegistworkentryList() {
		return registworkentryList;
	}

	public void setRegistworkentryList(List<Registworkentry> registworkentryList) {
		this.registworkentryList = registworkentryList;
	}

	public List<Registstudyentry> getRegiststudyentryList() {
		return registstudyentryList;
	}

	public void setRegiststudyentryList(List<Registstudyentry> registstudyentryList) {
		this.registstudyentryList = registstudyentryList;
	}

	public String getClassid() {
		return classid;
	}

	public void setClassid(String classid) {
		this.classid = classid;
	}

	public Office getCompany() {
		return company;
	}

	public void setCompany(Office company) {
		this.company = company;
	}

	public School getSchoo() {
		return schoo;
	}

	public void setSchoo(School schoo) {
		this.schoo = schoo;
	}

	public Grade getGrade() {
		return grade;
	}

	public void setGrade(Grade grade) {
		this.grade = grade;
	}

	public Banji getBanji() {
		return banji;
	}

	public void setBanji(Banji banji) {
		this.banji = banji;
	}

	public Studyofficer getBangan() {
		return bangan;
	}

	public void setBangan(Studyofficer bangan) {
		this.bangan = bangan;
	}


	public String getIsOwn() {
		return IsOwn;
	}

	public void setIsOwn(String isOwn) {
		IsOwn = isOwn;
	}

	public User getDl() {
		return dl;
	}

	public void setDl(User dl) {
		this.dl = dl;
	}

	public String getNianji() {
		return nianji;
	}

	public void setNianji(String nianji) {
		this.nianji = nianji;
	}

	public List<AdjunctFile> getAdjunctFileList() {
		return adjunctFileList;
	}

	public void setAdjunctFileList(List<AdjunctFile> adjunctFileList) {
		this.adjunctFileList = adjunctFileList;
	}
}
